
<script type="text/javascript" src="${statics}/scripts/jquery/ui/js/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="${base}/scripts/user/vocation/edit.js" language="javascript"></script>
		<div>
			<form id="saveForm" name="saveForm" method="post" action="${base}/user/vocation/edit!save">
				<div >
				    <input  type="button" value="保 存" onClick="save()"/>
				    <input type="button" value="不保存" />
				</div>
				
		<#list vocations as vocation1>
			<#if !vocation1.parent?exists>
			 	<h2>${vocation1.chName!}</h2>
			</#if>
			<#list vocations as vocation2>
				<#if vocation2.parent?exists>
					<#if vocation1.id== vocation2.parent.id>
						<span>
							<img src="${base}${vocation2.path!}"></img>
						 	<span id="span${vocation2.id}" onClick="choose(${vocation2.id})">${vocation2.chName!}</span><span id="span_${vocation2.id}"><#if vocation2.checked==true> <font color='red'>已被选中</font></#if></span></div>
						 	<input type="checkbox" name="ids" id="checkbox${vocation2.id}" value="${vocation2.id}" class="checkbox" style="display:none" <#if vocation2.checked==true> checked="true"</#if>/>
						</span>
					</#if>
				</#if>
			</#list>
		</#list>
		

		</form>
		</div>


